/* comment display in gutter */
.dp-highlightArea .gutter.comment {
  width: 1em;
}

.dp-highlightArea .gutter.hasComment {
  background: #deeeee;
}

.dp-highlightArea .selectedLine .gutter.hasComment {
  background: #abbbbb;
}

.dp-highlightArea .gutter.hasLineComment {
  text-align: center;
}

.dp-highlightArea .gutter.hasLineComment .commentCount {
  margin: 2px 0;
  padding: 0 5px;
  font-size: .9em;
  cursor: pointer;
}

/* severity backgrounds color */
.severity-excellent {
  background: #cfa;
}

.severity-note {
  background: #caf;
}

.severity-style {
  background: #ff8;
}

.severity-warning {
  background: #fc8;
}

.severity-error {
  background: #e99;
}

/* comment hint bar */
.dp-highlightArea .hintBar {
  background: #aaa;
  color: #ccc;
  font-family: Verdana, Arial, sans-serif;
  font-size: .8em;
}

.dp-highlightArea .hintBar .arrow {
  padding: 1px 0 2px 0;
}

.dp-highlightArea .hintBar .hint {
  padding-left: 3px;
}

/* file information */
.dp-highlightArea .fileHeader {
  background: #ccc;
  color: #555;
  font-family: Verdana, Arial, sans-serif;
  width: 100%;
  font-size: .85em;
}

.dp-highlightArea .fileHeader .name,
  .dp-highlightArea .fileHeader .lines,
  .dp-highlightArea .fileHeader .revision {
  padding: 5px;
  margin-left: 10px;
  background: transparent;
}

.dp-highlightArea .fileHeader .name {
  font-weight: bold;
  margin-left: 20px;
}

.dp-highlightArea .fileHeader .commentTab {
  margin: 2px 20px 0 0;
  border: 1px solid #888;
  border-bottom: 0 none;
  font-weight: bold;
  background: #fff;
}

.dp-highlightArea .fileHeader .commentTab .tabText {
  padding: 4px 4px 3px 10px;
}

.dp-highlightArea .fileHeader .commentTab .closeComment {
  padding: 4px 10px 3px 4px;
  cursor: pointer;
}

/* comment edit/show box */
.commentBox {
  background: #fff;
  width: 350px;
  font: 10pt Verdana, Arial, sans-serif;
}

/* clear styles  */
.commentBox td,
  .commentBox tr,
  .commentBox table,
  .commentBox th {
  margin: 0;
  padding: 0;
  border-collapse: separate;
}

/* comment box content */
.commentBox .content {
  padding: 5px;
  font-size: .85em;
}

.commentBox .header {
  padding: 5px 0 2px 0;
  font-weight: bold;
  color: #666;
  cursor: default;
}

.commentBox .simpleHeader .author {
  font-weight: bold;
  color: #666;
  cursor: default;
  padding: 3px 0;
}

.commentBox .simpleHeader .time {
  padding: 3px 5px;
}

.commentBox .simpleHeader .toggleMoreInfo {
  padding: 3px 0;
}

.commentBox .moreInfo {
  width: 100%;
  border-bottom: 1px solid #bbb;
}

.commentBox .moreInfo .value {
  padding: 1px;
}

.commentBox .ratingRow {
  margin-top: 2px;
}

.commentBox .ratingRow .starRating {
  padding-right: 5px;
}

.commentBox .relatedList {
  width: 100%;
}

.commentBox .relatedList {
  border-collapse: collapse;
}

.commentBox .relatedList .addParent {
  margin: 2px 0;
}

.commentBox .relatedList .delete {
  cursor: pointer;
}

.commentBox .relatedList .relatedListEntry {
  margin: 2px 0;
}

/*.commentBox .message,*/
.commentBox .messageBoxContainer,
  .commentBox .replyAreaContainer {
  border: 1px solid #bbb;
  font-size: 10pt;
  padding: 3px;
  margin: 5px 0;
}

.commentBox .messageBox,
  .commentBox .replyArea {
  height: 150px;
  width: 100%;
  border: 0 none;
}

.commentBox .messageBox.unSelected,
  .commentBox .replyArea.unSelected {
  color: #999;
}

.commentBox .settings {
  width: 100%;
}

/* comment box controls */
.commentBox .controls {
  padding-top: 5px;
}

.commentBox button {
  padding: 0 2px;
  margin-left: 5px;
  border: 1px solid #999;
  background: #ddd;
  color: #555;
}

/* comment box reply display */

.commentBox .replies {
  border: 1px solid #bbb;
  height: 250px;
  margin: 5px 0;
  padding: 4px;
}

.commentBox .replies .replyContainer {
  margin-top: 6px;
}

.commentBox .replies .replyContent {
}

.commentBox .replies .replyHeader {
  font-weight: bold;
  color: #666;
  cursor: default;
}

.commentBox .replies .firstReply {
  border-top-width: 0;
  margin-top: 0;
}

/* lines for which a comment is displayed */

.dp-highlightArea .viewedLine .gutter {
  background: #c5c3ba;
}

.dp-highlightArea .viewedLine .gutter.hasComment {
  background: #cddddd;
}

.dp-highlightArea .viewedLine .code {
  background: #d8d8d8;
}

.dp-highlightArea .viewedLine.line1 .code {
  background: #ebebeb;
  color: inherit;
}

/* code comment screen */
.codeCommentScreen {
  background: #fff;
  z-index: 5001;
}

/* clear styles  */
.codeCommentScreen td,
  .codeCommentScreen tr,
  .codeCommentScreen table,
  .codeCommentScreen th {
  margin: 0;
  padding: 0;
}

.codeCommentScreen .goBack {
  font-weight: bold;
  padding: 7px;
  font-size: 10pt;
}

/* file comment list box */
.fileCommentList .contentContainer {
  margin-top: 0;
  width: 500px;
  height: 300px;
}

.fileCommentList .content {
  width: 100%;
}

.fileCommentList .fileHeader {
  margin: 5px 10px 2px 10px;
}

.fileCommentList .lines {
  padding: 1px 5px 0 0;
}

.fileCommentList .author,
  .fileCommentList .version,
  .fileCommentList .message {
  padding: 0 5px;
}

.fileCommentList .contentHeader {
  font-weight: bold;
  text-align: center;
  cursor: default;
  background: #ddd;
  width: 80px;
  border-bottom: #bbb;
  padding: 0 5px;
}

.fileCommentList .contentHeader span {
  width: 100%;
  white-space: nowrap;
}